package structure_结构性.decorator_pattern_装饰器模式;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: hihi
 * @Date: 2020/07/07/11:07
 * @Description:
 */
public class RedShapeDecorator extends ShapeDecorator {
	public RedShapeDecorator(Shape shape) {
		super(shape);
	}

	@Override public void draw() {
		super.draw();
		System.err.println("红色的");
	}
}
